const express = require("express");
const router = express.Router();
const {
  phoneMocksLogin,
  wechatLogin,
  accountAndPasswordLogin,
} = require("../../controllers/mobile/usersController");

/**
 * 手机号模拟登录
 * POST /mobile/auth/phoneMocksLogin
 */
router.post("/phoneMocksLogin", phoneMocksLogin);

/**
 * 微信登录
 * POST /mobile/auth/wechatLogin
 */
router.post("/wechatLogin", wechatLogin);

/**
 * 账号密码登录
 * POST /mobile/auth/accountAndPasswordLogin
 */
router.post("/accountAndPasswordLogin", accountAndPasswordLogin);

module.exports = router;
